//
//  UIColor+XMKit.h
//  XMKit
//
//  Created by chenming on 2018/5/26.
//  Copyright © 2018年 ChenXiaoMing. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (XMKit)

/** 随机颜色 */
+ (UIColor *)randomColor;

/** 十六进制字符串颜色 */
+ (UIColor *)colorWithHexString:(NSString *)color alpha:(CGFloat)alpha;

/** RGB颜色 */
+ (instancetype)colorWithRed:(uint8_t)red green:(uint8_t)green blue:(uint8_t)blue;

@end
